<?php
/************************FoxPHP威客系统************************/
/*                                                            */
/*  FoxPHP.Com (C)2006-2016 FoxPHP Inc.                       */
/*  This is NOT a freeware, use is subject to license terms   */
/*  FoxPHP威客系统是商业软件,使用于商业用途请购买授权         */
/*  V3.0 2016.3                                               */
/*  foxphp@aliyun.com                                         */
/*  http://www.foxphp.com                                     */
/*                                                            */
/**************************************************************/

return array(
	
	'URL_ROUTER_ON' => true,
	
	//URL正则
	'URL_ROUTE_RULES'=>array(
		'/^(\d+)\/(\d+)$/'	=>'task/show/draft?id=:1&oid=:2', //  /task/50/14
		'/^(\d+)$/'        => 'task/show/index?id=:1', //访问 /task/50
		
		
	
		'/^map\/index\/(\w+)\/c(\d+)\/m(\d+)\/d(\d+)\/t(\d+)\/o(\d+)\/s\/(.*)\/p\/(\d+)$/'        => 'task/map/index?catid=:1&city=:2&mode=:3&deposit=:4&time=:5&order=:6&search=:7&p=:8', 
		'/^map\/index\/(\w+)\/c(\d+)\/m(\d+)\/d(\d+)\/t(\d+)\/o(\d+)\/p\/(\d+)$/'        => 'task/map/index?catid=:1&city=:2&mode=:3&deposit=:4&time=:5&order=:6&p=:7', 
		'/^map\/index\/(\w+)\/c(\d+)\/m(\d+)\/d(\d+)\/t(\d+)\/o(\d+)\/s\/(.*)$/'        => 'task/map/index?catid=:1&city=:2&mode=:3&deposit=:4&time=:5&order=:6&search=:7', 
		'/^map\/index\/(\w+)\/c(\d+)\/m(\d+)\/d(\d+)\/t(\d+)\/o(\d+)$/'        => 'task/map/index?catid=:1&city=:2&mode=:3&deposit=:4&time=:5&order=:6', 

		'/^map\/index\/c(\d+)\/m(\d+)\/d(\d+)\/t(\d+)\/o(\d+)\/s\/(.*)\/p\/(\d+)$/'        => 'task/map/index?city=:1&mode=:2&deposit=:3&time=:4&order=:5&search=:6&p=:7', 
		'/^map\/index\/c(\d+)\/m(\d+)\/d(\d+)\/t(\d+)\/o(\d+)\/s\/(.*)$/'        => 'task/map/index?city=:1&mode=:2&deposit=:3&time=:4&order=:5&search=:6',
		'/^map\/index\/c(\d+)\/m(\d+)\/d(\d+)\/t(\d+)\/o(\d+)\/p\/(\d+)$/'        => 'task/map/index?city=:1&mode=:2&deposit=:3&time=:4&order=:5&p=:6', 
		'/^map\/index\/c(\d+)\/m(\d+)\/d(\d+)\/t(\d+)\/o(\d+)$/'        => 'task/map/index?city=:1&mode=:2&deposit=:3&time=:4&order=:5', 
		'/^map\/index\/(\w+)\/p\/(\d+)$/'        => 'task/map/index?catid=:1&p=:2', 
		'/^map\/index\/p\/(\d+)$/'        => 'task/map/index?p=:1', 
		'/^map\/index\/(\w+)$/'        => 'task/map/index?catid=:1', 
		
		
		'/^(\w+)\/c(\d+)\/m(\d+)\/d(\d+)\/t(\d+)\/o(\d+)\/s\/(.*)\/p\/(\d+)$/'        => 'task/index/index?catid=:1&city=:2&mode=:3&deposit=:4&time=:5&order=:6&search=:7&p=:8', 
		'/^(\w+)\/c(\d+)\/m(\d+)\/d(\d+)\/t(\d+)\/o(\d+)\/p\/(\d+)$/'        => 'task/index/index?catid=:1&city=:2&mode=:3&deposit=:4&time=:5&order=:6&p=:7', 
		'/^(\w+)\/c(\d+)\/m(\d+)\/d(\d+)\/t(\d+)\/o(\d+)\/s\/(.*)$/'        => 'task/index/index?catid=:1&city=:2&mode=:3&deposit=:4&time=:5&order=:6&search=:7', 
		'/^(\w+)\/c(\d+)\/m(\d+)\/d(\d+)\/t(\d+)\/o(\d+)$/'        => 'task/index/index?catid=:1&city=:2&mode=:3&deposit=:4&time=:5&order=:6', 
		
		'/^c(\d+)\/m(\d+)\/d(\d+)\/t(\d+)\/o(\d+)\/s\/(.*)\/p\/(\d+)$/'        => 'task/index/index?city=:1&mode=:2&deposit=:3&time=:4&order=:5&search=:6&p=:7', 
		'/^c(\d+)\/m(\d+)\/d(\d+)\/t(\d+)\/o(\d+)\/s\/(.*)$/'        => 'task/index/index?city=:1&mode=:2&deposit=:3&time=:4&order=:5&search=:6',
		'/^c(\d+)\/m(\d+)\/d(\d+)\/t(\d+)\/o(\d+)\/p\/(\d+)$/'        => 'task/index/index?city=:1&mode=:2&deposit=:3&time=:4&order=:5&p=:6', 
		'/^c(\d+)\/m(\d+)\/d(\d+)\/t(\d+)\/o(\d+)$/'        => 'task/index/index?city=:1&mode=:2&deposit=:3&time=:4&order=:5', 
		'/^(\w+)\/p\/(\d+)$/'        => 'task/index/index?catid=:1&p=:2', 
		'/^p\/(\d+)$/'        => 'task/index/index?p=:1', 
		'/^(\w+)$/'        => 'task/index/index?catid=:1', 
	),


);